using System;
using System.IO;

namespace RxjhServer
{
	public class logo
	{
		public static void 怒气记录(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("怒气记录"))
				{
					Directory.CreateDirectory("怒气记录");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("怒气记录\\怒气记录_" + DateTime.Now.ToString("yyyy_MM_dd") + ".log", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now.ToString() + " " + ErrTxt + "\r\n");
				}
			}
			catch (Exception ex)
			{
				Form1.WriteLine(1, "怒气记录 出错---" + ex.Message);
			}
		}

		public static void 武勋丹记录(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("武勋丹记录"))
				{
					Directory.CreateDirectory("武勋丹记录");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("武勋丹记录\\武勋丹记录_" + DateTime.Now.ToString("yyyy_MM_dd") + ".log", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now.ToString() + " " + ErrTxt + "\r\n");
				}
			}
			catch (Exception ex)
			{
				Form1.WriteLine(1, "武勋丹记录 出错---" + ex.Message);
			}
		}

		public static void 踢号日志(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("logs"))
				{
					Directory.CreateDirectory("logs");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("logs\\踢号日志_" + DateTime.Now.ToString("yyyy_MM_dd") + ".log", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now.ToString() + " " + ErrTxt + "\r\n");
				}
			}
			catch (Exception ex)
			{
				Form1.WriteLine(1, "踢号日志 出错---" + ex.Message);
			}
		}

		public static void 假人反馈(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("假人反馈"))
				{
					Directory.CreateDirectory("假人反馈");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("假人反馈\\日志_" + DateTime.Now.ToString("yyyy_MM_dd") + ".log", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now.ToString() + " " + ErrTxt + "\r\n");
				}
			}
			catch
			{
			}
		}

		public static void 界面显示记录(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("logs"))
				{
					Directory.CreateDirectory("logs");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("logs\\界面显示记录_" + DateTime.Now.ToString("yyyy_MM_dd") + ".log", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now.ToString() + " " + ErrTxt + "\r\n");
				}
			}
			catch (Exception ex)
			{
				Form1.WriteLine(1, "界面显示记录 出错---" + ex.Message);
			}
		}

		public static void 错误日志(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("logs"))
				{
					Directory.CreateDirectory("logs");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("logs\\错误日志_" + DateTime.Now.ToString("yyyy_MM_dd") + ".log", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now.ToString() + " " + ErrTxt + "\r\n");
				}
			}
			catch (Exception ex)
			{
				Form1.WriteLine(1, "错误日志 出错---" + ex.Message);
			}
		}

		public static void 外挂日志(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("logs"))
				{
					Directory.CreateDirectory("logs");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("logs\\外挂日志_" + DateTime.Now.ToString("yyyy_MM") + ".log", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now.ToString() + " " + ErrTxt + "\r\n");
				}
			}
			catch (Exception ex)
			{
				Form1.WriteLine(1, "外挂日志 出错---" + ex.Message);
			}
		}

		public static void 非法外挂日志2(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("非法外挂日志2"))
				{
					Directory.CreateDirectory("非法外挂日志2");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("非法外挂日志2\\非法外挂日志2_" + DateTime.Now.ToString("yyyy_MM_dd") + ".log", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now.ToString() + " " + ErrTxt + "\r\n");
				}
			}
			catch (Exception ex)
			{
				Form1.WriteLine(1, "非法外挂日志2 出错---" + ex.Message);
			}
		}

		public static void 非法外挂日志(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("logs"))
				{
					Directory.CreateDirectory("logs");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("logs\\非法外挂日志_" + DateTime.Now.ToString("yyyy_MM") + ".log", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now.ToString() + " " + ErrTxt + "\r\n");
				}
			}
			catch (Exception ex)
			{
				非法外挂日志2(ErrTxt);
				Form1.WriteLine(1, "非法外挂日志 出错---" + ex.Message);
			}
		}

		public static void 打开仓库记录(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("logs"))
				{
					Directory.CreateDirectory("logs");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("logs\\打开仓库记录_" + DateTime.Now.ToString("yyyy_MM") + ".log", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now.ToString() + " " + ErrTxt + "\r\n");
				}
			}
			catch (Exception ex)
			{
				Form1.WriteLine(1, "打开仓库记录 出错---" + ex.Message);
			}
		}

		public static void JSTxtLog(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("加速检查"))
				{
					Directory.CreateDirectory("加速检查");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("加速检查\\日志_" + DateTime.Now.ToString("yyyy_MM_dd") + ".log", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(ErrTxt + " " + DateTime.Now.ToString() + "\r\n");
				}
			}
			catch
			{
			}
		}

		public static void KickTxtLog(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("logs"))
				{
					Directory.CreateDirectory("logs");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("踢号\\日志_" + DateTime.Now.ToString("yyyy_MM_dd") + ".log", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(ErrTxt + " " + DateTime.Now.ToString() + "\r\n");
				}
			}
			catch
			{
			}
		}

		public static void 交易Log(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("物品记录"))
				{
					Directory.CreateDirectory("物品记录");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("物品记录\\物品交易日志_" + DateTime.Now.ToString("yyyy_MM_dd") + ".log", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now.ToString() + " " + ErrTxt + "\r\n");
				}
			}
			catch (Exception ex)
			{
				Form1.WriteLine(1, "交易Log 出错---" + ex.Message);
			}
		}

		public static void 物品使用Log(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("物品记录"))
				{
					Directory.CreateDirectory("物品记录");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("物品记录\\物品使用日志_" + DateTime.Now.ToString("yyyy_MM_dd") + ".log", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now.ToString() + " " + ErrTxt + "\r\n");
				}
			}
			catch
			{
			}
		}

		public static void 获奖人数Log(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("聊天记录"))
				{
					Directory.CreateDirectory("聊天记录");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("聊天记录\\获奖人数记录_" + DateTime.Now.ToString("yyyy") + ".log", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now.ToString() + " " + ErrTxt + "\r\n");
				}
			}
			catch
			{
			}
		}

		public static void 说话Log(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("聊天记录"))
				{
					Directory.CreateDirectory("聊天记录");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("聊天记录\\说话日志_" + DateTime.Now.ToString("yyyy_MM_dd") + ".log", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now.ToString() + " " + ErrTxt + "\r\n");
				}
			}
			catch
			{
			}
		}

		public static void 传音Log(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("聊天记录"))
				{
					Directory.CreateDirectory("聊天记录");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("聊天记录\\传音记录_" + DateTime.Now.ToString("yyyy_MM_dd") + ".log", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now.ToString() + " " + ErrTxt + "\r\n");
				}
			}
			catch
			{
			}
		}

		public static void 帮派Log(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("聊天记录"))
				{
					Directory.CreateDirectory("聊天记录");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("聊天记录\\帮派记录_" + DateTime.Now.ToString("yyyy_MM_dd") + ".log", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now.ToString() + " " + ErrTxt + "\r\n");
				}
			}
			catch
			{
			}
		}

		public static void pzTxtLog(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("logs"))
				{
					Directory.CreateDirectory("logs");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("logs\\帮战日志_" + DateTime.Now.ToString("yyyy_MM") + ".log", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now.ToString() + " " + ErrTxt + "\r\n");
				}
			}
			catch
			{
			}
		}

		public static void cfzTxtLog(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("物品记录"))
				{
					Directory.CreateDirectory("物品记录");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("物品记录\\非法物品日志_" + DateTime.Now.ToString("yyyy_MM") + ".log", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now.ToString() + " " + ErrTxt + "\r\n");
				}
			}
			catch
			{
			}
		}

		public static void 寄售记录(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("物品记录"))
				{
					Directory.CreateDirectory("物品记录");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("物品记录\\寄售日志_" + DateTime.Now.ToString("yyyy_MM") + ".log", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now.ToString() + " " + ErrTxt + "\r\n");
				}
			}
			catch
			{
			}
		}

		public static void GiftTxtLog(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("物品记录"))
				{
					Directory.CreateDirectory("物品记录");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("物品记录\\礼包发放日志_" + DateTime.Now.ToString("yyyy_MM") + ".log", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now.ToString() + " " + ErrTxt + "\r\n");
				}
			}
			catch
			{
			}
		}

		public static void FileCQTxtLog(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("logs"))
				{
					Directory.CreateDirectory("logs");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("logs\\CQLog_" + DateTime.Now.ToString("yyyy_MM_dd") + ".log", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now.ToString() + " " + ErrTxt + "\r\n");
				}
			}
			catch
			{
			}
		}

		public static void FileLoninTxtLog(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("logs"))
				{
					Directory.CreateDirectory("logs");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("logs\\登陆日志_" + DateTime.Now.ToString("yyyy_MM_dd") + ".log", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now.ToString() + " " + ErrTxt + "\r\n");
				}
			}
			catch
			{
			}
		}

		public static void FileDropItmeTxtLog(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("物品记录"))
				{
					Directory.CreateDirectory("物品记录");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("物品记录\\暴物品日志" + DateTime.Now.ToString("yyyy_MM_dd") + ".log", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now.ToString() + " " + ErrTxt + "\r\n");
				}
			}
			catch
			{
			}
		}

		public static void FileReMakeTxtLog(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("物品记录"))
				{
					Directory.CreateDirectory("物品记录");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("物品记录\\再造石头日志" + DateTime.Now.ToString("yyyy_MM_dd") + ".log", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now.ToString() + " " + ErrTxt + "\r\n");
				}
			}
			catch
			{
			}
		}

		public static void FileItmeTxtLog(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("logs"))
				{
					Directory.CreateDirectory("logs");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("logs\\放物品交易记录_" + DateTime.Now.ToString("yyyy_MM_dd") + ".log", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now.ToString() + " " + ErrTxt + "\r\n");
				}
			}
			catch
			{
			}
		}

		public static void FileBugTxtLog(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("logs"))
				{
					Directory.CreateDirectory("logs");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("logs\\BugLog_" + DateTime.Now.ToString("yyyy_MM_dd") + ".txt", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now.ToString() + " " + ErrTxt + "\r\n");
				}
			}
			catch
			{
			}
		}

		public static void FilePakTxtLog(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("logs"))
				{
					Directory.CreateDirectory("logs");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("logs\\封包_" + DateTime.Now.ToString("yyyy_MM_dd") + ".txt", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now.ToString() + " " + ErrTxt + "\r\n");
				}
			}
			catch
			{
			}
		}

		public static void SeveTxtLog(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("logs"))
				{
					Directory.CreateDirectory("logs");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("logs\\存档_" + DateTime.Now.ToString("yyyy_MM_dd") + ".txt", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now.ToString() + " " + ErrTxt + "\r\n");
				}
			}
			catch
			{
			}
		}

		public static void 物品强化记录(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("物品强化记录"))
				{
					Directory.CreateDirectory("物品强化记录");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("物品强化记录\\物品强化记录_" + DateTime.Now.ToString("yyyy_MM_dd") + ".log", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now + " " + ErrTxt + "\r\n");
				}
			}
			catch
			{
			}
		}

		public static void SeveJinFuLog(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("物品记录"))
				{
					Directory.CreateDirectory("物品记录");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("物品记录\\金符使用" + DateTime.Now.ToString("yyyy_MM") + "log.txt", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now.ToString() + " " + ErrTxt + "\r\n");
				}
			}
			catch
			{
			}
		}

		public static void SeveReNameLog(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("换名符使用"))
				{
					Directory.CreateDirectory("换名符使用");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("换名符使用\\换名符使用log.txt", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now.ToString() + " " + ErrTxt + "\r\n");
				}
			}
			catch
			{
			}
		}

		public static void Logout(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("Logout"))
				{
					Directory.CreateDirectory("Logout");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("Logout\\Logout.txt", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now.ToString() + " " + ErrTxt + "\r\n");
				}
			}
			catch
			{
			}
		}

		public static void qjfuzhi(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("全局复制"))
				{
					Directory.CreateDirectory("全局复制");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("全局复制\\复制记录.txt", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now.ToString() + " " + ErrTxt + "\r\n");
				}
			}
			catch
			{
			}
		}

		public static void 物品掉落记录(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("logs"))
				{
					Directory.CreateDirectory("logs");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("logs\\掉落记录_" + DateTime.Now.ToString("yyyy_MM_dd") + ".log", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now + " " + ErrTxt + "\r\n");
				}
			}
			catch
			{
			}
		}

		public static void 限制武勋地图(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("logs"))
				{
					Directory.CreateDirectory("logs");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("logs\\限制武勋地图记录_" + DateTime.Now.ToString("yyyy_MM_dd") + ".log", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now + " " + ErrTxt + "\r\n");
				}
			}
			catch
			{
			}
		}

		public static void GM模式6(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("logs"))
				{
					Directory.CreateDirectory("logs");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("logs\\GM模式6_" + DateTime.Now.ToString("yyyy_MM_dd") + ".log", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now + " " + ErrTxt + "\r\n");
				}
			}
			catch
			{
			}
		}

		public static void GM模式8(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("logs"))
				{
					Directory.CreateDirectory("logs");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("logs\\GM模式8_" + DateTime.Now.ToString("yyyy_MM_dd") + ".log", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now + " " + ErrTxt + "\r\n");
				}
			}
			catch
			{
			}
		}

		public static void 金币交易(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("logs"))
				{
					Directory.CreateDirectory("logs");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("logs\\金币开店出售记录_" + DateTime.Now.ToString("yyyy_MM_dd") + ".log", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now + " " + ErrTxt + "\r\n");
				}
			}
			catch
			{
			}
		}

		public static void 元宝交易(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("logs"))
				{
					Directory.CreateDirectory("logs");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("logs\\元宝开店出售记录_" + DateTime.Now.ToString("yyyy_MM_dd") + ".log", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now + " " + ErrTxt + "\r\n");
				}
			}
			catch
			{
			}
		}

		public static void 积分交易(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("logs"))
				{
					Directory.CreateDirectory("logs");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("logs\\积分开店出售记录_" + DateTime.Now.ToString("yyyy_MM_dd") + ".log", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now + " " + ErrTxt + "\r\n");
				}
			}
			catch
			{
			}
		}

		public static void 武勋交易(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("logs"))
				{
					Directory.CreateDirectory("logs");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("logs\\武勋开店出售记录_" + DateTime.Now.ToString("yyyy_MM_dd") + ".log", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now + " " + ErrTxt + "\r\n");
				}
			}
			catch
			{
			}
		}

		public static void 元宝消费提示(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("logs"))
				{
					Directory.CreateDirectory("logs");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("logs\\元宝消费_" + DateTime.Now.ToString("yyyy_MM_dd") + ".log", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now.ToString() + " " + ErrTxt + "\r\n");
				}
			}
			catch
			{
			}
		}

		public static void 积分消费提示(string ErrTxt)
		{
			try
			{
				if (!Directory.Exists("logs"))
				{
					Directory.CreateDirectory("logs");
				}
				using (StreamWriter streamWriter = new StreamWriter(new FileStream("logs\\积分消费_" + DateTime.Now.ToString("yyyy_MM_dd") + ".log", FileMode.Append, FileAccess.Write, FileShare.Read)))
				{
					streamWriter.Write(DateTime.Now.ToString() + " " + ErrTxt + "\r\n");
				}
			}
			catch
			{
			}
		}
	}
}
